#ifndef __MAIN_H
#define __MAIN_H

#include <string.h>
#include <stdlib.h>

#include "stm32f2xx.h"

#include "IGS_STM32_IAP_APP.h"
#include "flash_if.h"



#define LED_Enable		//LED_Disable

#define LED1_PIN                 GPIO_Pin_9
#define LED1_GPIO_PORT           GPIOD
#define LED1_GPIO_CLK            RCC_AHB1Periph_GPIOD

#define LED2_PIN                 GPIO_Pin_8
#define LED2_GPIO_PORT           GPIOD
#define LED2_GPIO_CLK            RCC_AHB1Periph_GPIOD

#define LED3_PIN                 GPIO_Pin_15
#define LED3_GPIO_PORT           GPIOB
#define LED3_GPIO_CLK            RCC_AHB1Periph_GPIOB

#define LED4_PIN                 GPIO_Pin_14
#define LED4_GPIO_PORT           GPIOB
#define LED4_GPIO_CLK            RCC_AHB1Periph_GPIOB


#endif /* __MAIN_H */
